package cn.lingyangwl.agile.model.module.auth;

import cn.lingyangwl.framework.data.mate.annotations.FieldBind;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author shenguangyang
 */
@Getter
@Setter
public class UserDataRule implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 对应的菜单id
     */
    private Long menuId;

    /**
     * 规则编码, 用于作为唯一标识赛选数据
     */
    @FieldBind(type = "data_rule_code", target = "ruleCodeText")
    private String ruleCode;

    private String ruleCodeText;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 字段
     */
    private String ruleColumn;

    /**
     * 条件
     */
    private String ruleConditions;

    /**
     * 规则值
     */
    private String ruleValue;

    /**
     * 状态值 1有效 0无效
     */
    private String status;
}
